package com.nanyang.tms.api.dto.request.cost.add;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * <p>Description:(成本价格分区信息邮编表)</p>
 *
 * @author lv
 * @date 2022年11月12日 下午04:53:19
 * @Copyright Copyright (c) 2020 www.nanyang.cn Inc. All rights reserved.
 */
@Data
public class CostPartZipcodeAddRequest implements Serializable {


    /**
     * 开始邮编
     */
    @Length(max = 10, message = "zipCodeStart长度需小于10个字符")
    private String zipCodeStart;

    /**
     * 截至邮编
     */
    @Length(max = 10, message = "zipCodeEnd长度需小于10个字符")
    private String zipCodeEnd;

    /**
     * 仓库代码
     */
    @Length(max = 20, message = "warehouseCode长度需小于20个字符")
    private String warehouseCode;
}